package com.sbtr.constant;

/**
 * 模型相关常量定义类
 */
public class ProjectConstant {

	private ProjectConstant() {
	}

	/**
	 * 项目类型,图像检测
	 */
	public static final String PROJECT_TYPE_IMG_DETECTION = "img_detection";
	/**
	 * 项目类型,图像分类
	 */
	public static final String PROJECT_TYPE_IMG_CLASSIFY = "img_classify";
	/**
	 * 项目类型,数据预测
	 */
	public static final String PROJECT_TYPE_DATA_PREDICT = "data_predict";
	/**
	 * 项目类型,无监督学习
	 */
	public static final String PROJECT_TYPE_DATA_UNSUPERVISED = "data_unsupervised";
	/**
	 * 项目类型,切图模式
	 */
	public static final String PROJECT_TYPE_IMG_SLICING = "img_slicing";
	
	/**
	 * 项目类型,分割模式
	 */
	public static final String PROJECT_TYPE_IMG_SEGMENT = "img_segment";


	/**
	 * 项目类型,分割模式
	 */
	public static final String PROJECT_TYPE_UNSUPERVISED = "data_unsupervised";
	
	/**
	 * 项目类型,文本分类模式
	 */
	public static final String PROJECT_TYPE_TXT_CLASSIFY = "txt_classify";

	/**
	 * 任务类型 0:分类
	 */
	public static final String TASK_DETECTION_TYPE = "1";
	/**
	 * 任务类型 1:检测
	 */
	public static final String TASK_CLASSIFY_TYPE = "2";
	/**
	 * 任务类型 3:声音
	 */
	public static final String TASK_VOICE_TYPE = "3";
	/**
	 * 项目类型,声音分类
	 */
	public static final String PROJECT_TYPE_VOICE_CLASSIFY = "voice_classify";

	/**
	 * 项目进度,项目创建
	 */
	public static final String PROJECT_PROGRESS_PROJECT = "project";
	/**
	 * 项目进度,导入素材
	 */
	public static final String PROJECT_PROGRESS_MATERIAL = "material";
	/**
	 * 项目进度,素材标注
	 */
	public static final String PROJECT_PROGRESS_CALIBRATE = "calibrate";
	/**
	 * 项目进度,模型训练
	 */
	public static final String PROJECT_PROGRESS_TRAIN = "train";

	/**
	 * 训练失败
	 */
	public static final String PROJECT_PROGRESS_TRAINERR = "trainerr";

	/**
	 * 模型导入成功
	 */
	public static final String PROJECT_PROGRESS_LOAD = "loadmodel";

	/**
	 * 项目进度,训练成功
	 */
	public static final String PROJECT_PROGRESS_PUBLISH = "publish";

	/**
	 * 运行状态,发布
	 */
	public static final String PROJECT_STATUS_PUBLISHED = "published";
	/**
	 * 运行状态,未发布
	 */
	public static final String PROJECT_STATUS_UNPUBLISH = "unpublish";
	/**
	 * 运行状态,发布失败
	 */
	public static final String PROJECT_STATUS_ERROR = "error";
	/**
	 * 运行状态,发布中
	 */
	public static final String PROJECT_STATUS_PUBLISHING = "publishing";
	
	public static final String[] IMG_TASK_TYPE = { PROJECT_TYPE_IMG_DETECTION, PROJECT_TYPE_IMG_CLASSIFY, PROJECT_TYPE_IMG_SLICING};
	public static final String[] DATA_TASK_TYPE = { PROJECT_TYPE_DATA_PREDICT};
	public static final String[] VOICE_TASK_TYPE = { PROJECT_TYPE_VOICE_CLASSIFY};
}
